Journal Remote Data Source
Data source class for managing journal entries in Firestore. This class is responsible for adding, deleting, updating, and fetching journal entries from the Firestore database.
Functions
Link copied to clipboard
Adds a new journal entry to Firestore.
Link copied to clipboard
Deletes a journal entry from Firestore by its ID.
Link copied to clipboard
Fetches all journal entries from Firestore and returns them as a list of JournalEntry objects.
Link copied to clipboard
Returns a Flow of journal entries, listening for real-time updates from Firestore.
Link copied to clipboard
Updates an existing journal entry in Firestore. If the journal entry does not exist, it will be added.